package xyz.xmh.pattern.behavioral.strategypattern;

/**
 * @author Administrator
 * <p>
 * 策略接口的实现类，相减
 */
public class OperationSubtract implements Strategy {
    @Override
    public int doOperation(int num1, int num2) {
        return num1 - num2;
    }
}
